package org.example.service.impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class SentinelServiceImpl {
    @SentinelResource(value = "tranceService")
    public String resourceMethod(){
        //做业务
        return "业务资源";
    }
}
